//
//  ZDEmoji.h
//  ZDEmojiKeyBoard
//
//  Created by Apple on 15/11/5.
//  Copyright © 2015年 itcast. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface ZDEmoji : NSObject

///上传的服务器的字段
@property (nonatomic, copy) NSString *chs;

///表情图片
@property (nonatomic, copy) NSString *png;

///苹果自带 表情字段
@property (nonatomic, copy) NSString *code;


///保存表情包的文件名
@property (nonatomic, copy) NSString *id;

///emoji图片
@property (nonatomic, strong, readonly) UIImage *emojiImage;

///emoji字段
@property (nonatomic, copy, readonly) NSString *emojiString;

///是否删除按钮
@property (nonatomic, assign, getter=isRemoveBtn) BOOL removeBtn;

///记录emoji表情使用的次数
@property (nonatomic, assign) NSUInteger times;


- (instancetype) initWithDictionary:(NSDictionary *)dict;

+ (instancetype) emojiWithDictionary:(NSDictionary *)dict;

+ (instancetype) emojiWithRemoveBtn:(BOOL)removeBtn;



@end
